#include "mythread.h"
#include <QDebug>
#include <QMutex>

MyThread::MyThread(QObject *parent) : QThread(parent)
{

}
void MyThread::run(){
    //
    extern QMutex mutex;
    mutex.lock();
    qDebug() << "hello";
    qDebug() << "world";
    qDebug() << "";
    mutex.unlock();
    //
}
